PEGetSectionHeight

Use PEGetSectionHeight to retrieve the section height information for the specified section. This is the replacement API Call for PEGetMinimumSectionHeight and should be used for all new development.

C Syntax
BOOL CRPE_API PEGetSectionHeight (
        short printJob,
        short sectionCode,
        short FAR *height );
Parameters

printJob

Specifies the print job that you want to query to retrieve section height information.

section
Code

Specifies the Section Codes, for the report sections for which you want to retrieve information. See Working with section codes.

height

Specifies a pointer to the section height (in twips).

Returns
VB Syntax
Declare Function PEGetSectionHeight Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal sectionCode As Integer,
    height As Integer ) As Integer
Delphi Syntax
function PEGetSectionHeight (
    printJob: Smallint;
    sectionCode: Smallint;
    Height: Smallint (*in twips*)
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com